<!DOCTYPE html>
<#assign ctx = request.contextPath />
<html>
<head>
    <meta charset="UTF-8">
    <title>Freemarker</title>
</head>
<body>
Hello ${title}!
<br>
context ${ctx}
</body>
</html>